/*    */ package eos.moe.dragoncore;
/*    */ 
/*    */ import java.io.IOException;
/*    */ import java.io.OutputStream;
/*    */ 
/*    */ public class fh
/*    */   extends OutputStream {
/*  8 */   private long w = 0L;
/*    */   private OutputStream q;
/*    */   private boolean g;
/*    */   
/*    */   public fh(OutputStream outputStream) {
/* 13 */     this.q = outputStream;
/* 14 */     this.g = false;
/*    */   }
/*    */ 
/*    */   
/*    */   public void write(int i) throws IOException {
/* 19 */     write(new byte[] { (byte)i });
/*    */   }
/*    */ 
/*    */   
/*    */   public void write(byte[] arrayOfByte) throws IOException {
/* 24 */     write(arrayOfByte, 0, arrayOfByte.length);
/*    */   }
/*    */ 
/*    */   
/*    */   public void write(byte[] arrayOfByte, int i, int j) throws IOException {
/* 29 */     if (this.g) {
/* 30 */       throw new IllegalStateException("ZipEntryOutputStream is closed");
/*    */     }
/*    */     
/* 33 */     this.q.write(arrayOfByte, i, j);
/* 34 */     this.w += j;
/*    */   }
/*    */   
/*    */   public void v() throws IOException {
/* 38 */     this.g = true;
/*    */   }
/*    */   
/*    */   public long v() {
/* 42 */     return this.w;
/*    */   }
/*    */   
/*    */   public void close() throws IOException {}
/*    */ }


/* Location:              D:\fanbian\[D][龙之核心]DragonCore-2.6.0.3.jar!\eos\moe\dragoncore\fh.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */